package com.lp.serialportlp


object OnCVDCallBackUitl {
    private var mOnCVDCallBack: OnCVDCallBack? = null

    fun setCallBack(OnCVDCallBack: OnCVDCallBack?) {
        mOnCVDCallBack = OnCVDCallBack
    }

    fun doCallBackRequestData(data:String) {
        if (mOnCVDCallBack != null) {
            mOnCVDCallBack!!.requestData(data)
        }
    }
}
